#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2021/6/15 
# @Author  : Mik

from common.rw_xlsx import ReadExcel


def read_cases():
    data_list = []
    read_data = ReadExcel()
    data = read_data.get_rows(1, read_data.row_max1)
    for rows in data:
        # 每行第4列 是否运行
        if rows[4] == 'Yes':  # 每行第4列等于否将不读取内容
            value = rows
            value.pop(4)
            data_list.append(value)
    return data_list



